#ifndef VI5300_H
#define VI5300_H

#include "stdint.h"
typedef struct
{
    int16_t millimeter;
    uint32_t peak;
    uint16_t noise;
    uint32_t confidence;

} VI5300_Dist_TypeDef;

extern VI5300_Dist_TypeDef distance;
extern uint8_t existenceFlag; 
uint8_t vi5300Init(void);
uint8_t VI5300_Get_Measure_Data(uint16_t *dist);

#define  VI5300_TEMP_CALIBRATION   //must be open 
uint8_t VI5300_Stop_Continuous_Measure(void);
#endif
